<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.daohang_hv:link {
	font-size: 14px;
	line-height:29px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}
.daohang_hv:visited {
	font-size: 14px;
	line-height:29px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}
.daohang_hv:hover {
	font-size: 14px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}
.daohang:link {
	font-size: 14px;
	line-height:29px;
	color: #3d8bcb;
	text-decoration: none;
	font-weight: bold;
}
.daohang:visited {
	font-size: 14px;
	line-height:29px;
	color: #3d8bcb;
	text-decoration: none;
	font-weight: bold;
}
.daohang:hover {
	font-size: 14px;
	color: #3d8bcb;
	text-decoration: none;
	font-weight: bold;
}
.daohang_div_select
{
	width:91px;height:31px;text-align:center;background:url(<?=PUBLIC_URL?>/admin/images/header_sub_bg.gif);
}
.daohang_div
{
	width:91px;height:31px;text-align:center;
}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="58" align="left" style="background:url(<?=PUBLIC_URL?>/admin/images/header_bg.gif);border-bottom:2px solid #3f94d7;"><table width="98%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="18%" height="58" rowspan="2" align="left">&nbsp;&nbsp;<img src="<?=PUBLIC_URL?>/admin/images/admin_logo.png" /></td>
        <td width="82%" align="right">你好：[ <?=$this->_adminInfo["username"]?> ] 今天
<?=date("Y年m月d日")?>
<?php
	  $weekarray=array("日","一","二","三","四","五","六");
	  echo "星期".$weekarray[date("w")];
	  ?>
　
          [<a href="<?=$htmlLogoutUrl?>" target="_top">退出</a>]</td>
        </tr>
      <tr>
        <td valign="bottom"><table height="23" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <?php
            $i=0;
            foreach($adminLanmuArr as $k=>$v){
                $i++;
                $menu_url=ADMIN_URL."&c=index&m=left&menu=".$k;
            ?>
            <td align="center" width="91"><div id="div<?=$i?>" class="<?=$i==1?"daohang_div_select":"daohang_div"?>"><a href="<?=$menu_url?>" id="divhref<?=$i?>" class="<?=$i==1?"daohang_hv":"daohang"?>" onclick="select_daohang(<?=$i?>,'<?=$v["default_index_url"]?>')" target="leftFrame">
              <?=$v["name"]?>
            </a></div></td>
            <?php }?>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<script>
var admin_ids="<?=count($adminLanmuArr)?>";
</script>
    <script>
function select_daohang(did,default_index_url)
{
	for(i=1;i<=(admin_ids+1);i++)
	{
		divid="div"+did;
		divhref="divhref"+did;
		if(i==did){
			$("#div"+i).attr("class","daohang_div_select");
			$("#divhref"+i).attr("class","daohang_hv");
		}else{
			$("#div"+i).attr("class","daohang_div");
			$("#divhref"+i).attr("class","daohang");
		}
		if(default_index_url!=""){
			window.parent.document.getElementById("mainFrame").src=default_index_url;
		}
	}
}
</script>